// 统计分析

import { POST as post } from '../axios.config.js'
const base = config.ip
const projectName = '/topnet-assess'

/* 统计分析 开始 */
// 工作纪实统计
export const workDocumentaryStatistical = p =>
  post(`${base}${projectName}/assessment-statistical/workDocumentaryStatistical`, p)

// 民主测评统计接口
export const democraticAssessmentStatistical = p =>
  post(`${base}${projectName}/assessment-statistical/democraticAssessmentStatistical`, p)

// 加减分项统计
export const addSubtractStatistical = p =>
  post(`${base}${projectName}/assessment-statistical/addSubtractStatistical`, p)

// 审核评鉴
export const auditValuation = p => post(`${base}${projectName}/audit-valuation/details`, p)

// 获取机构列表
export const listRecursiveOrgan = p => post(`${base}${projectName}/assessment-statistical/listRecursiveOrgan`, p)

// 【获取全局评价待办数据】
export const getAllAssessDeal = p => post(`${base}${projectName}/audit-valuation/getAllAssessDeal`, p)

// 【查询全局评价待办详情数据】
export const queryAllAssessDealDetail = p =>
  post(`${base}${projectName}/audit-valuation/queryAllAssessDealDetail`, p, {
    headers: {
      hideLoading: false,
    },
  })
/* 统计分析 结束 */
